import React, { Component } from 'react';
import { Toast } from 'antd-mobile'

import Navigation from 'components/Navigation/Navigation'
import Button from 'components/UIButton/UIButton'
import wcrw from 'images/my/wanchengrenwu@3x.png'

class TaskComplete extends Component {
  render() {
    return (
      <div className='resWrap'>
        <Navigation 
        title = "任务完成"
        ></Navigation>
        <img src={wcrw} alt=""/>
        <Button
        clickButton = {()=>this.onClickLookTask("查看任务")}
        width='2.16rem'
        height='.4rem'
        backgroundColor = '#56D9D1'
        borderRadius = '.2rem'
        titleColor = '#fff'
        titleSize = '.17rem'
        title="查看任务详情"></Button>
      </div>
    );
  }
  onClickLookTask(tag){
    Toast.info(tag, 0.5)

  }
}

export default TaskComplete;